<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    /* 谁跨越列就给谁colspan  */
    table{
        width:500px;
        line-height: 50px;
        border-collapse: collapse;
        text-align: center;
    }
    table,td{
        border: 1px solid #333;
    }
    </style>
</head>
<body>
    <table>
       <tr><td colspan="2">商城</td></tr>
       <tr><td>手机</td><td>衣服</td></tr>
       <tr><td>鞋子</td><td>pen</td></tr>
       <tr><td>服装</td><td>瓶子</td></tr>
    </table>
</body>
</html>